package com.zy.springboot;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.logging.Logger;

@SpringBootApplication
public class DemoApplication implements CommandLineRunner {
	@Override
	public void run(String... strings) throws Exception {
		Logger.getGlobal().info("Runner运行");
		//log.info("Runner运行");
	}

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}
}

